//业务记录
import request from '@/utils/request'

// 业务列表
export function businessListApi(params) {
    return request({
      url: `/admin/mszs/yw/pageList`,
      method: 'get',
      params
    })
  }
//  新增业务
export function addbusinessApi(data) {
  return request({
    url: `/admin/mszs/yw/insert`,
    method: 'post',
    data
  })
}
// 删除业务
export function delbusinessApi(params) {
  return request({
    url: `/admin/mszs/yw/delete`,
    method: 'get',
    params
  })
}
// 根据id查询业务
export function getbusinessApi(params) {
  return request({
    url: `/admin/mszs/yw/load`,
    method: 'get',
    params
  })
}